/**
 * 
 */
package com.jeecms.wicool.dao.shops;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.shops.RedPacket;

/**
 * @author spring
 *
 */
public interface RedPacketDao {
	public Pagination getPage(String name,String startDate,String endDate,int pageNo, int pageSize,CmsUser user);
	public RedPacket findById(Integer id);
	public RedPacket updateByUpdater(Updater<RedPacket> updater);
	public RedPacket save(RedPacket bean);
	public RedPacket deleteById(Integer id);
	public List<RedPacket> getAll(CmsUser user);
}
